<template>
  <page-main class="page-appointment-success">
    <div class="info">
      <div class="icon">
        <van-icon name="checked" size="48" />
      </div>
      <div class="title">
        <h3>预约成功</h3>
      </div>
      <div class="desc m-b-10">
        您已预约成功，请您持本人就诊卡/身份证
      </div>
      <div class="desc">
        按时就诊
      </div>
    </div>
    <div class="p-a-15">
      <van-button type="info" block @click="$util.gotoPage('/appointment/detail', {makeId: pageParams.makeId})">查看预约详情</van-button>
      <div class="p-t-15"></div>
      <van-button type="default" block @click="$util.gotoPage('/')">返回首页</van-button>
    </div>

  </page-main>
</template>
<script>
export default {
  data(){
    return {
      pageParams:{

      }
    }
  },
  created(){
    this.pageParams = this.$route.query;
  },
  methods:{

  }
}
</script>